From 06765c21805946a1c64b84be9622222a46c629d4 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 10 Jan 2001 11:52:57 +0000 Subject: [PATCH] (random): Revert the declaration. --- src/sysdep.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sysdep.c b/src/sysdep.c index 0e1b364be72..339a3c2941a 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -30,7 +30,12 @@ Boston, MA 02111-1307, USA. */ /* Including stdlib.h isn't necessarily enough to get srandom declared, e.g. without __USE_XOPEN_EXTENDED with glibc 2. */ #ifdef HAVE_RANDOM +#if 0 /* It turns out that defining _OSF_SOURCE in osf5-0.h gets + random prototyped as returning `int'. It looks to me as + though the best way to DTRT is to prefer the rand48 functions + (per libc.info). -- fx */ extern long int random P_ ((void)); +#endif #if 0 /* Don't prototype srandom; it takes an unsigned argument on some systems, and an unsigned long on others, like FreeBSD 4.1. */ -- 2.30.2